
using AutoMapper;
using Yozeev.BusinessLogic;
using Yozeev.BusinessLogic.Dtos;

namespace Yozeev.BusinessLogic.Mapper
{

	/// <summary>
    /// 配置TicketDetail的AutoMapper
    /// </summary>
	internal static class TicketDetailMapper
    {
        public static void CreateMappings(IMapperConfigurationExpression configuration)
        {
            configuration.CreateMap <TicketDetail,TicketDetailListDto>();
            configuration.CreateMap <TicketDetailListDto,TicketDetail>();

            configuration.CreateMap <TicketDetailEditDto,TicketDetail>();
            configuration.CreateMap <TicketDetail,TicketDetailEditDto>();

        }
	}
}
